<h2>Overzicht van alle evenementen</h2>
<br/>
<p><a href='new'>Nieuw Evenement</a></p>
<table>
<tr>
<th>id</th>
<th>Naam</th>
<th>Omschrijving</th>
<th>Adres</th>
<th>aantal hulpverleners</th>
<th>Inschrijven</th>
<?php if ($this->authInfo()->isAdmin()): ?>
<th>Bewerk</th>
<? endif ?>
</tr>
<?php foreach($this->events as $event): ?>
<tr>
<td><?= $this->escape($event->evt_id);?></td>
<td><a href='#'><?= $this->escape($event->evt_name);?></a></td>
<td><?= $this->escape($event->evt_description);?></td> 
<td><?= $this->adres($event->adres);?></td>
<td><?= $this->escape($event->evt_amtpersons);?></td>
<td><a href='#'>Inschrijven</a></td>
<?php if ($this->authInfo()->isAdmin()): ?>
<td><a href='#'>bewerk</a></td>
<? endif?>
</tr>


<?php endforeach ?>
</table>
<?  if($this->events instanceof Zend_Paginator):?>
<?= $this->paginationControl($this->events,
							'Sliding',
							'index/_paginator.phtml');?>
<? endif ?>